import request from '@/utils/request'
//首页接口
//首页任务接口
export function getTask(){
    return request({
      url: '/home/data/getCountBack',
      method: 'get',
    })
  }
//车辆类型接口
export function getStatic(){
    return request({
      url: '/home/data/getCarType',
      method: 'get',
    })
  }
//车辆注册接口
export function getRegister(){
    return request({
      url: '/home/data/getCarNumber',
      method: 'get',
    })
  }
//报警接口
export function getBeforeCall(){
    return request({
      url: '/home/data/selectCount',
      method: 'get',
    })
  }
  //预警接口
export function getWarnning(){
    return request({
      url: '/home/data/selectCount1',
      method: 'get',
    })
  }
 //各区的运单统计
export function getWaybillWeight(){
    return request({
      url: '/home/data/statisticsWaybill',
      method: 'get',
    })
  }
//月度称重
export function getStatisticsWaybill(){
    return request({
      url: '/home/data/waybillWeight',
      method: 'get',
    })
  }
//称重以及运单情况
export function getRankingWaybill(id){
  return request({
    url: '/home/data/rankingWaybill/'+id,
    method: 'get',
   
  })
}